_Pragma("once")

#include "SingletonTemplate.h"
#include "ProcessCreator.h"


class RttyProcessManager {
    friend class SingletonTemplate<RttyProcessManager>;
public:
    /** Default constructor */
    RttyProcessManager();
    /** Default destructor */
    ~RttyProcessManager();

    void killRuning(void);

    std::string& buildArgument(std::string& output);

    bool runRtty(void);

protected:

ProcessCreator& mprocessCreator = ProcessCreatorSingleton::instance();
};


using RttyProcessManagerSingleton = SingletonTemplate<RttyProcessManager>;


